absent-mindedly forget

Translations
рассеянно забывать
She absent-mindedly forgot to close the door when leaving the house.
Она рассеянно забыла закрыть дверь, покидая дом.